package com.dave.admin.common.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;


/**
 * 对象ID
 */
public class IdEntity implements Serializable {

    /***
     * 唯一主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
